﻿package {	import flash.display.*;	import flash.events.*;	public class Spring extends Sprite {		public var side:Number;		public function Spring():void {			draw();		}		public function draw():void {			this.graphics.clear();			this.graphics.lineStyle(1,0x000000);			this.graphics.moveTo(0,0);			this.graphics.lineTo(0,10);			side = 5;			for (var i=1;i<10;i++){				this.graphics.lineTo(side,i*5+10);				side = side * -1;			}			this.graphics		}	}}